import React from 'react'
import Home from '../pages/home'
import Payload from '../pages/payload'
import Order from '../pages/order'
import List from '../pages/list'
import Detail from '../pages/detail'
import PersonList from '../pages/personList'

const routes = [{
  path: '/',
  element: <Home></Home>
},{
  path: '/list',
  element: <List></List>
},{
  path: '/payload',
  element: <Payload></Payload>
},{
  path: '/order',
  element: <Order></Order>
},{
  path: '/detail/:id',
  element: <Detail></Detail>
},{
  path: '/personList',
  element: <PersonList></PersonList>
},]

export default routes